import request from '@/utils/request'

// 查询大笔合同附件列表
export function listAgreementBigfile(query) {
  return request({
    url: '/AgreementBig/AgreementBigfile/list',
    method: 'get',
    params: query
  })
}

// 查询大笔合同附件详细
export function getAgreementBigfile(id) {
  return request({
    url: '/AgreementBig/AgreementBigfile/' + id,
    method: 'get'
  })
}

// 新增大笔合同附件
export function addAgreementBigfile(data) {
  return request({
    url: '/AgreementBig/AgreementBigfile',
    method: 'post',
    data: data
  })
}

// 修改大笔合同附件
export function updateAgreementBigfile(data) {
  return request({
    url: '/AgreementBig/AgreementBigfile',
    method: 'put',
    data: data
  })
}

// 删除大笔合同附件
export function delAgreementBigfile(id) {
  return request({
    url: '/AgreementBig/AgreementBigfile/' + id,
    method: 'delete'
  })
}
